package com.shoping.common.exception;


import org.springframework.http.HttpStatus;

/**
 * 在业务允许的范围  不报警 HttpStatus:400 状态码:200
 *
 * @author zengweilong
 */
public class ParamException extends BaseException {

    private static final long serialVersionUID = -6605859700154199561L;

    public ParamException(String errMsg) {
        super(String.valueOf(HttpStatus.BAD_REQUEST.value()), errMsg);
    }

    public ParamException(String code, String errMsg) {
        super(code, errMsg);
    }
}
